package org.lyq.erp.process.users.pojo;

import java.math.BigDecimal;
import org.lyq.erp.process.userrank.pojo.TblWxUserrank;
import org.lyq.erp.utils.format.FormatUtils;

public class TblWxUsers {

	private String userId;

	private Integer rankId;

	private String userName;

	private String userNickname;

	private String userPassword;

	private String userPhone;

	private String userTelephone;

	private String imginfoPath;

	private String userLoginip;

	private Long userLastloginTime;

	private String userLastloginTimeView;

	private Long userCreateTime;

	private Long userUpdateTime;

	private Integer userTatolscore;

	private Integer userStatus;

	private BigDecimal userTotalamt;

	private TblWxUserrank userrank;

	public String getImginfoPath() {
		return imginfoPath;
	}

	public void setImginfoPath(String imginfoPath) {
		this.imginfoPath = imginfoPath;
	}

	public String getUserLastloginTimeView() {
		return this.userLastloginTimeView;
	}

	public void setUserLastloginTimeView(String userLastloginTimeView) {
		this.userLastloginTimeView = userLastloginTimeView;
	}

	public TblWxUserrank getUserrank() {
		return this.userrank;
	}

	public void setUserrank(TblWxUserrank userrank) {
		this.userrank = userrank;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = (userId == null) ? null : userId.trim();
	}

	public Integer getRankId() {
		return this.rankId;
	}

	public void setRankId(Integer rankId) {
		this.rankId = rankId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = (userName == null) ? null : userName.trim();
	}

	public String getUserNickname() {
		return this.userNickname;
	}

	public void setUserNickname(String userNickname) {
		this.userNickname = (userNickname == null) ? null : userNickname.trim();
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = (userPassword == null) ? null : userPassword.trim();
	}

	public String getUserPhone() {
		return this.userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = (userPhone == null) ? null : userPhone.trim();
	}

	public String getUserTelephone() {
		return this.userTelephone;
	}

	public void setUserTelephone(String userTelephone) {
		this.userTelephone = (userTelephone == null) ? null : userTelephone.trim();
	}

	public String getUserLoginip() {
		return this.userLoginip;
	}

	public void setUserLoginip(String userLoginip) {
		this.userLoginip = (userLoginip == null) ? null : userLoginip.trim();
	}

	public Long getUserLastloginTime() {
		return this.userLastloginTime;
	}

	public void setUserLastloginTime(Long userLastloginTime) {
		if (userLastloginTime != null) {
			this.userLastloginTimeView = FormatUtils.getFormatDateTime(userLastloginTime);
		}
		this.userLastloginTime = userLastloginTime;
	}

	public Integer getUserTatolscore() {
		return this.userTatolscore;
	}

	public void setUserTatolscore(Integer userTatolscore) {
		this.userTatolscore = userTatolscore;
	}

	public Integer getUserStatus() {
		return this.userStatus;
	}

	public void setUserStatus(Integer userStatus) {
		this.userStatus = userStatus;
	}

	public Long getUserCreateTime() {
		return this.userCreateTime;
	}

	public void setUserCreateTime(Long userCreateTime) {
		this.userCreateTime = userCreateTime;
	}

	public Long getUserUpdateTime() {
		return this.userUpdateTime;
	}

	public void setUserUpdateTime(Long userUpdateTime) {
		this.userUpdateTime = userUpdateTime;
	}

	public BigDecimal getUserTotalamt() {
		return this.userTotalamt;
	}

	public void setUserTotalamt(BigDecimal userTotalamt) {
		this.userTotalamt = userTotalamt;
	}
}
